package com.anjbo.service.loan;

import com.anjbo.bean.loan.LoanScheme;
import com.anjbo.bean.loan.RedMortgageDto;

import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/6/8.
 */
public interface RedMortgageService {
     List<LoanScheme> selectSchemeByQualification(String qualification);

    List<RedMortgageDto> getHistoryListByUid(RedMortgageDto mortgageDto);

    RedMortgageDto getRedMortgageDtoByOrderId(String id);

    int insertRedMortgageDto(RedMortgageDto mortgageDto);

    List<LoanScheme> selectSchemeByType(String schemeType);

    Integer assessTimesToday(String uid);
    
    Integer updateRedMortgageDtoByOrderId(RedMortgageDto mortgageDto);
    
    Map<String, Object> getRedMortgageDetailByOrderNo(Map<String, Object> param);
    
    List<Map<String, Object>> selectRedOrderProgressList();

    String selectUserNameByUid(String uid);

    RedMortgageDto selectProgressInfoByOrderNo(String orderNo);

    int insertOrderThird(RedMortgageDto mortgageDto);

    void initProgressItem(String orderNo,String code);

    void cleanCard(String orderNo);

    void cleanCredit(String orderNo);

    void cleanHouseCert(String orderNo);


    RedMortgageDto selectByOrderNo(String orderNo);
}
